<%
# @Filename: app/views/admin/author/index.rhtml
# @Author:   etng <etng2004@gmail.com>
# @Url:      <http://www.etng.net/blog> %>
<table>
  <tr>
    <th>Name</th>
    <th>Age</th>
    <th>Email</th>
    <th>Edit</th>
    <th>Delete</th>
  </tr>
  
  <%= render :partial => 'author', :collection => @authors %>
</table>
<p><%= link_to 'Add a new author', :action => 'new' %></p>